package com.zhny.aiot.soil.tw.plugin.model;

import com.zhny.aiot.plugin.ActionValue;
import com.zhny.aiot.plugin.PropertyValue;
import com.zhny.aiot.plugin.model.*;

public class SoilStoreEntry extends StoreEntity {
    @PropertyValue(alias = "含水率",description = "土壤含水率",unit = "%",icon=IconConstract.Watercontent,variableType=VariableType.Numerical,actions={
            @ActionValue(name=Operate.Check,commandCode="query",eventType=EventType.Click)
    })
    private double watercontent;
    @PropertyValue(alias = "温度",description = "土壤温度",unit = "°C",icon=IconConstract.Temperature,variableType=VariableType.Numerical,actions={
            @ActionValue(name=Operate.Check,commandCode="query",eventType=EventType.Click)
    })
    private double temperature;

    public double getWatercontent() {
        return watercontent;
    }

    public void setWatercontent(double watercontent) {
        this.watercontent = watercontent;
    }

    public double getTemperature() {
        return temperature;
    }

    public void setTemperature(double temperature) {
        this.temperature = temperature;
    }
}
